replace multiple spaces with single space python

116

replace multiple spaces with single space python -

' '.join(myString.split())

Comments

Submit
0 Comments